package com.palm.hubo2o.model;

import android.support.annotation.StringDef;

import com.google.gson.annotations.Expose;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * Created by wongqi on 16/6/21.
 */
public class QueryOrdersParams extends LazyReqBody {
    //    订单类型，空为全部
//    prize:中奖，waitprize:未开奖，serie：追号
    public static final String all = "";
    public static final String prize = "prize";
    public static final String waitprize = "waitprize";
    public static final String serie = "serie";

    @Retention(RetentionPolicy.SOURCE)
    @StringDef({all, prize, waitprize, serie})
    public @interface OrderType {
    }

    @Expose
    private String type;

    @OrderType
    public String getType() {
        return type;
    }

    public void setType(@OrderType String type) {
        this.type = type;
    }
}
